home *** CD-ROM | disk | FTP | other *** search
/ Sound Fx / Sound Fx.iso / Software / UNZIPED / DWSTK / ERR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-10  |  973 b   |  57 lines

  1. /******************************************************************************
  2. File:          err.h
  3. Version:     2.22
  4. Tab stops: every 2 columns
  5. Project:     any STK related code
  6. Copyright: 1994-1995 DiamondWare, Ltd.    All rights reserved.*
  7. Written:     Keith Weiner & Erik Lorenzen
  8. Purpose:     contains a routine to handle any error generated by the STK
  9. History:     see err.c
  10.  
  11. Notes
  12. -----
  13. *Permission is expressely granted to use err_Display or any derivitive made
  14.  from it to registered users of the STK.
  15. ******************************************************************************/
  16.  
  17.  
  18.  
  19. #ifndef err_INCLUDE
  20.  
  21.     #define err_INCLUDE
  22.  
  23.  
  24.  
  25.     #include "dws.h"
  26.     #include "dwdsp.h"
  27.  
  28.  
  29.  
  30.     /* The following are the modules used by err_Display */
  31.     typedef enum
  32.     {
  33.         err_DWS,
  34.         err_DWDSP
  35.  
  36.     } err_MODULE;
  37.  
  38.  
  39.  
  40.     #ifdef __cplusplus
  41.         extern "C" {
  42.     #endif
  43.  
  44.  
  45.  
  46.     void err_Display(word errornum, err_MODULE module);
  47.  
  48.  
  49.  
  50.     #ifdef __cplusplus
  51.         }
  52.     #endif
  53.  
  54.  
  55.  
  56. #endif
  57.